package com.rdc.qingkou.base;

import com.rdc.qingkou.presenter.ipresenter.IBasePresenter;


public class BasePresenterImpl<V> implements IBasePresenter<V> {


    protected V mView;
    @Override
    public void attachView(V view) {
        mView=view;
    }

    @Override
    public void detachView() {
        mView=null;
    }

    @Override
    public V getMvpView() {
        return mView;
    }

    @Override
    public boolean isAttachView() {
        return mView != null;
    }
}
